package com.brillilab.service.core.experiments;

import com.brillilab.domain.po.experiments.ExperimentComment;
import com.brillilab.domain.vo.experiments.ExperimentCommentVo;

import java.util.List;

/**
 * @author linzhikang
 * @description 实验评论
 * @date 2019-09-10 10:25
 */
public interface IExperimentCommentService {
    ExperimentComment addComment(ExperimentComment comment);

    boolean deleteComment(Long commentId);

    ExperimentComment selectById(Long commentId);

    List<ExperimentCommentVo> selectList(Long experimentId,Integer type);

	int getCount(Long experimentId,Integer isRead);

    int commentNum(Long experimentId, Integer type);

    void setReadState(Long experimentId);

    List<ExperimentCommentVo> selectCommentList(List<Long> experimentIds);

	List<ExperimentComment> selectAllList();
}
